home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 1.iso
/
ARGONET
/
SOFTROCK
/
PD
/
VOYSAFE.ARC
/
Instructs
next >
Wrap
Text File
|
1996-12-27
|
11KB
|
301 lines
!VoySafe - !Voyager News and Mail Backups
=========================================
Written by Vince M. Hudd
(c)copyright 1996 Soft Rock Software
email: softrock@argonet.co.uk
or: vince.mh@argonet.co.uk
Remove the old version
----------------------
If you have a previous version installed, please remove it beforehand. This
involves a number of steps:
1) Make a backup first - just in case!
2) De-install from the !Voyager Vix Manager
- load !Voyager
- from the icon bar menu select Preferences -> Vix Manager
- select VIX:VoySafe in the window which appears
- click the 'Remove' icon, then 'Close'
- quit !Voyager
3) Remove the !VoySafe application from within !Voyager
- open up !Voyager.Apps
- you will see a number of directories, including one called 'VoySafe'
do one of the following to it:-
a) Rename it to something else ('OldSafe') for example
b) Move it somewhere else on your hard disk
c) Delete it - but only if you're confident you won't need to refer to
the backups already contained within it anymore
4) Remove the !Backup file from within !NewsAgent
- open up !Voyager.Apps.News.!NewsAgent
- you will see a number of files, including one called '!Backup'
as with the 'VoySafe' directory, above, you must either rename, move, or
delete this file.
5) Remove the VoySafe lines from the !NewsAgent.!Run file
- load the file !Voyager.Apps.News.!NewsAgent.!Run into your text editor
- find the following two lines, and remove them:-
IF "<VoySafe$Path>"="" THEN Error !VoySafe has not been seen by the filer
Run <NewsAgent$Dir>.!Backup
- resave the file.
Having carried out the above steps, !VoySafe will have been successfully
deinstalled. You can now run !Voyager again, without !VoySafe installed.
Installing the new version
--------------------------
1) Make a backup copy - just in case!
2) Put the new files in place
- open the directory containing your copy of !Voyager
- drag the !Voyager application from this archive onto your existing
!Voyager. This contains the new files that need to be placed inside
!Voyager, and is the easiest way to copy them over.
3) Make !NewsAgent do it's backups
- Load the !Voyager.Apps.News.!NewsAgent.!Run file into your editor.
- Find the line that says:-
Set NewsAgent$Dir <Obey$Dir>
and add the following straight after it:-
If "<VoySafe$Running>"="1" Then Error Please quit !VoySafe before running news.
If "<VoySafe$Path>"="" Then Error !VoySafe has not been seen by the filer
Set VoySafe$NoRun 1
Run <VTiInternet$Dir>.Apps.VoySafe.!VoySafe.BackupNews
- Resave the file
4) Allow !VoySafe to be run when !NewsAgent isn't running:-
- Load the file !Voyager.Apps.News.!NewsAgent.!NewsAgent into your editor.
- Add the following line to the very end:-
Unset VoySafe$NoRun
- Resave the file.
5) Allow !PostyUser to do it's backups
- Load the !Voyager.Apps.Mail.!Run file into your editor
- Find the line:-
Run <Posty$Dir>.!PostyUser.!Boot
and add the following four immediately after it:-
If "<VoySafe$Running>"="1" Then Error Please quit !VoySafe before running mail.
If "<VoySafe$Path>"="" Then Error !VoySafe has not been seen by the filer
Set VoySafe$NoRun 1
Run <VTiInternet$Dir>.Apps.VoySafe.!VoySafe.BackupMail
Also add the following line to the very end of the file:-
Unset VoySafe$NoRun
- Resave the file
6) Install the Vix module, so that !VoySafe can be run from !Voyager
- Load !Voyager, if you haven't already done so
- From the Icon bar menu, select Preferences -> Vix Manager
- Drag one of the two supplied Vix Modules to the large square marked ViX:-
* If you are using a standard Voyager, the Vix Module for you is the
datafile called VSafeStand.
* If you are running the 'LittleVoy' Vix Module, by Christina West and
Andy Davis, the Vix Module for you is the 'VSafeSmall' datafile.
- Click the 'Close' icon
- Quit and restart !Voyager
Making Backups
--------------
No further action is required by you. Now, whenever you run either News or
Mail (after a download), a backup of that application's data files is made.
Additionally, the first time you run either of them, a complete backup of
that application is made, which you can fall back on if any major problems
come up.
!VoySafe retains three levels of backup for each of news and mail (once each
has been run three times!). This means that for News, for example, you always
have a backup from the last time, the time before that, and the time before
that, of your data.
In each case, a backup is only made when you run the applications after a
download:-
For news it checks for the existence of the file !Voyager.Apps.News.News,
and if that is present makes a backup.
For mail, it checks for !Voyager.Apps.Mail.Transports.Incomming.Email, and
if that is present makes a backup.
Using the !VoySafe application
------------------------------
Click the !VoySafe icon in your main !Voyager window. This displays the
main !VoySafe window, in which you will see the following options:-
Restore News - clicking this will restore the most recently
backed up news data.
Restore Mail - clicking this will restore the most recently
backed up mail data.
Flush News History - clicking this will wipe the contents of the
history directory in the news fetcher. In the
main, you won't need to do this unless you are
likely to manually alter the news subscribed
and groups files.
Flush Email Flags - clicking this will wipe the email program flags
file. This is sometimes necessary following a
crash of the mail program.
To quit !VoySafe click on the close icon.
If a problem occurs while running News or Mail that you feel requires you to
run !VoySafe, first make absolutely sure that neither application is running
before carrying out any of the above. You may also need to close any open
files before use.
Restoring older news or mail data
---------------------------------
If you feel you need to do this, the following steps should be carried out:-
- Open up !Voyager.Apps.!VoySafe.Backups
- You will see two directories: News and Mail, open up whichever of these
is relevant. You will now see three numbered directories (1-3) and one
other directory (Mail, or News).
- Rename the directory '1' as something else (eg '1b)
- Rename either '2' or '3' as '1' - depending on which you wish to restore.
- Rename the renamed '1' to whichever directory you renamed as '1'
- Having carried out the above, you can run !VoySafe as normal to carry out
the restore.
Please keep in mind the folowing:-
* If restoring an older mail backup, you will effectively lose any mails
received /after/ that backup was made.
* If restoring an older news backup, you will need to flush the news history
if you wish to download news that would have been covered in the more recent
backup.
Restoring either of the two applications
----------------------------------------
If at any time you need to restore either of the 'complete' applications,
the following procedure should be carried out:-
1) Open !Voyager.Apps
2) Rename the directory for whichever of the two applications you are
going to restore. For example, if !NewsAgent rename News to BrokenNews
3) Open VoySafe.!VoySafe.Backups (leaving !Voyager.Apps open)
4) Inside !VoySafe.Backups there are two directories, Mail and News, open
the appropriate one.
5) You will see three numbered directories (1-3) and one called either 'Mail'
or 'News' - copy this into the !Voyager.Apps directory
Please keep in mind the folowing:-
* In restoring the 'complete' mail backup, you will effectively lose any mails
received /after/ that backup was made. After doing this, it may be wise to
run !VoySafe and restore the most recent backup. *This will depend on the
circumstances that made you restore the application*
* If restoring the 'complete' news backup, you will need to flush the news
history if you wish to download news that would have been covered in the more
recent backup. Alternatively, as with mail, above, run !VoySafe to restore
the most recent backup. *This will depend on the circumstances that made you
restore the application*
Bugs
----
There is a minor bug in the Vix manager whereby the !VoySafe icon does not get
greyed out when carrying out a quickfetch, as it should. It /is/ correctly
greyed out when you log on fully.
Not actually a bug, this, but I'll put it here anyway: Because of the way in
which NewsAgent stores its files, !VoySafe can be very slow to back them up,
especially when you first run it - when the entire News directory is copied.
Similarly, the mail backup can also be slow - email files can become very
large.
Remember
--------
!VoySafe is my first multitasking program - keep this in mind when picking
faults :-)
Disclaimer
----------
This software has been tried under a variety of different circumstances, and
has so far proven successful. However, there are any number of different ways
in which things can go wrong, so I can make no guarantee of its viability in
all situations.
Support
-------
If my software goes belly up, what little support I can offer can be obtained
by emailing softrock@argonet.co.uk or vince.mh@argonet.co.uk. If the problem
is extreme you can try telephoning 0117 9491634, and I'll tell you that
whatever you did, you shouldn't have done, so there :-)
Just don't ask me to make any changes to the backup parts - because I've
accidentally deleted the source code :-(
Copyright
---------
!VoySafe was written by Vince M. Hudd, and is copyright (c)1996 Soft Rock
Software. Permission is hereby granted for this software to be copied and
distributed to people using the !Voyager internet software, provided it is not
being supplied as a part of that, or any other commercial software - to do this
permission must first be granted by Vince M. Hudd/Soft Rock Software, and will
almost certainly require some form of payment.
No payment is due or expected for the use of !VoySafe by users of !Voyager, but
any contributions (which may encourage me do improve this software - hint, hint :-) will be gratefully received at the following address:-
Soft Rock Software,
FREEPOST (BS 7978)
Westbury-on-Trym
Bristol
BS10 7BR
or this one (preferable, coz I pay if you use the one above ;-) :-
Soft Rock Software
124 Marissal Road,
Henbury,
Bristol,
BS10 7NP
Thats all folks!